package top.tangyh.lamp.care.vo.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import top.tangyh.basic.base.entity.SuperEntity;
import java.io.Serializable;

/**
 * <p>
 * 表单修改方法VO
 * 模块对应的排班中间表
 * </p>
 *
 * @author zqb
 * @date 2024-07-18 15:42:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "模块对应的排班")
public class BWorkModulesUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "")
    @NotNull(message = "请填写", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 模块唯一编号
     */
    @Schema(description = "模块唯一编号")
    @NotEmpty(message = "请填写模块唯一编号")
    @Size(max = 32, message = "模块唯一编号长度不能超过{max}")
    private String moduleId;
    /**
     * 排班id
     */
    @Schema(description = "排班id")
    @NotNull(message = "请填写排班id")
    private Long workId;


}
